import request from '@/utils/request'



export function updateTask(data) {
  return request({
    url: '/plan/task',
    method: 'put',
    data: data
  })
}

/**
 * 查询任务完成进度
 * @param {Object} data
 */
export function comList(data) {
  return request({
    url: '/plan/task/comList',
    method: 'post',
    data: data
  })
}
